import Api from "@/api";

export default {
  state: {},
  getters: {},
  mutations: {},
  actions: {
    fetchAdminConfig() {
      return Api.get("/admin/config");
    },
    editConfig(_, { formData, id }) {
      return Api.put("/admin/config/" + id, formData);
    }
  }
};
